package servlets;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class CadastroPsicologoServlet
 */
@WebServlet("/cadastroPsicologo")
public class CadastroPsicologoServlet extends ServletBase {
	private static final long serialVersionUID = 1L;
   
	public CadastroPsicologoServlet() {
        super();
    }
	
	protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
	{		
		String nome = request.getParameter("nome");
		String email = request.getParameter("email");
		String login = request.getParameter("login");
		String senha = request.getParameter("senha");
		
		PrintWriter out = response.getWriter();
		out.println(nome + " - " + email + " - " + login + " - " + senha);
	}


}
